﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Catalog.aspx.cs" Inherits="admin_Catalog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Catalog</title>
    <link href="../css/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-1.7.1.min.js"></script>
    <script src="../js/jquery-ui-1.8.18.custom.min.js"></script>
    <!--showDiagLogAdd-->
    <script>
        // increase the default animation speed to exaggerate the effect
        $.fx.speeds._default = 1500;
        $(function () {
            $("#dialogAdd").dialog({
                autoOpen: false,
                show: "blind",
                hide: "explode"
            });

            $("#btAdd").click(function () {
                $("#dialogAdd").dialog("open");
                return false;
            });
        });
        //Tab
        $(function () {
            $("#tabs").tabs();
        });
        //end tab
        $(function () {
            $("#radio").buttonset();
        });
        //button
        $(function () {
            $("input:submit, a, button", "body").button();
            $("a", "body").click(function () { return false; });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" OnSelectedIndexChanging="GridView1_SelectedIndexChanging"
            PageSize="1">
        </asp:GridView>
        <br />
        <div id="dialogAdd" title="Basic dialog">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                       <label >New Catagory'Name</label>

                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="TextBoxNameCatalog" runat="server"></asp:TextBox>
                     </td>
                </tr>
                <tr>
                    <td>
                       <label >New Catagory's Image</label>

                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                     </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button Text="Add" runat="server" onclick="Add_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <button id="btAdd">Add</button>
    </div>
    </form>
</body>
</html>
